CALCulate<Chn>:STATistics...    Related Topics

This subsystem evaluates and displays statistical and phase information of the trace.

 

Command tree: CALCulate<Chn>:STATistics

:DOMain

:USER

:STARt

:STOP

:NLINear

:COMP

:LEVel

:RESult?

:RESult

[:STATe]


CALCulate<Chn>:STATistics:DOMain:USER <numeric_value>

Selects one out of 10 evaluation ranges to be configured with the CALCulate<Chn>:STATistics:DOMain:USER:STARt and CALCulate<Chn>:STATistics:DOMain:USER:STOP commands.

<Chn>

Channel number used to identify the active trace. If unspecified the numeric suffix is set to 1.

 

<numeric_value>

Number of the evaluation range.

Range [def. unit]

1 to 10. In addition, 0 denotes the (non-configurable) Full Span evaluation range.  [–]

*RST value

0

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

*RST; CALC:STAT:DOM:USER?

Query the default evaluation range. The response is zero, i.e. the evaluation range is equal to the complete sweep range

CALC:STAT:DOM:USER 1; :CALC:STAT:DOM:USER:STARt 1GHZ; STOP 2GHZ

Select evaluation range no. 1 and define the evaluation range between 1 GHz and 2 GHz.

 

 


CALCulate<Chn>:STATistics:DOMain:USER:STARt <numeric_value>

Defines the start value of the evaluation range selected via CALCulate<Chn>:STATistics:DOMain:USER.

<Chn>

Channel number used to identify the active trace.

 

<numeric_value>

Start value of the evaluation range.

Range [def. unit]

–1000 GHz to 999.999999999 GHz. [Hz]

*RST value

Lowest frequency of the analyzer, depending on the analyzer model.

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:STATistics:DOMain:USER

 

 


CALCulate<Chn>:STATistics:DOMain:USER:STOP <numeric_value>

Defines the stop value of the evaluation range selected via CALCulate<Chn>:STATistics:DOMain:USER.

<Chn>

Channel number used to identify the active trace.

 

<numeric_value>

Stop value of the evaluation range.

Range [def. unit]

–999.999999999 GHz to 1000 GHz. [Hz]

*RST value

Highest frequency of the analyzer, depending on the analyzer model.

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:STATistics:DOMain:USER

 

 


CALCulate<Chn>:STATistics:NLINear:COMP:LEVel <numeric_value>

Defines the compression value x for the x-dB compression point measurement (CALCulate<Chn>:NLINear:COMP:RESult?).  

<Chn>

Channel number used to identify the active trace.

 

<numeric_value>

Stop value of the evaluation range.

Range [def. unit]

+0.01 dBm to +100.00 dBm [dBm]

*RST value

1 dBm

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:NLINear:COMP:RESult?

 


CALCulate<Chn>:NLINear:COMP:RESult?

Returns the x-dB compression point of an S-parameter or ratio measured in a power sweep. The compression value x is set via CALCulate<Chn>:STATistics:NLINear:COMP:LEVel.

<Chn>

Channel number used to identify the active trace.

 

Result

<Cmp_In>, <Cmp_Out>

<Cmp_In> is the stimulus level at the compression point
<Cmp_Out> is the magnitude of the wave reflected or transmitted by the DUT.
 

Range [def. unit]

For <Cmp_In>: Current sweep range or evaluation range (CALCulate<Chn>:STATistics:DOMain:USER), if different from the sweep range. [dBm]

For <Cmp_Out>: Measurement range of the analyzer. [dBm]

*RST value

 

SCPI, Command Types

Device-specific, query only.

 

Example:

*RST; SWE:TYPE POW

Select a power sweep with default CW frequency and sweep range.

CALC:STAT:NLIN:COMP:LEV 2

Define a compression value of 2 dB.

CALC:STAT:NLIN:COMP:RES?

Query the compression point results <Cmp_In>, <Cmp_Out>. An execution error message (error no. –200) is returned if no compression point is found..

 


CALCulate<Chn>:STATistics:RESult?
MEAN | STDDev | MAX | MIN | RMS | PTPeak | ELENgth | PDELay | ALL

Returns a single statistical parameters of the trace no. <Chn> or all parameters. It is not necessary to display the info field (CALCulate<Chn>:STATistics[:STATe] ON) before using this command.

<Chn>

Channel number used to identify the active trace.

 

Parameters

MEAN – Return arithmetic mean value of all response values of the trace in the entire sweep range (or in the evaluation range defined in manual control)  
STDDev – Return standard deviation of all response values
MAX – Return the maximum of all response values
MIN – Return the minimum of all response values
RMS – Return the root mean square of all response values
PTPeak – Return the peak-to-peak value (MAX – MIN)
ELENgth – Return the electrical length
PDELay – Return the phase delay
ALL – Return all statistical values, observing the order used above
 

Range [def. unit]

The data is returned as a comma-separated list of real numbers. The unit is the default unit of the measured parameter; see CALCulate<Ch>:PARameter:SDEFine but also depends on the trace format (linear or logarithmic scale, see CALCulate<Chn>:FORMat). If a polar trace format is selected, then the statistical parameters are calculated from the linear magnitude of the measurement parameter. [–]

*RST value

 

SCPI, Command Types

Device-specific, query only.

 

Example:

*RST; CALC:STAT:RES? MAX

Calculate and return the maximum of the default trace showing an S-parameter on a dB Mag scale.

:CALC:FORM POL; STAT:RES? MAX

Display the trace in a polar diagram and re-calculate the maximum. The result corresponds to the previous result but is converted to a unitless linear value.

 

 


CALCulate<Chn>:STATistics[:STATe] <Boolean>

Displays or hides all statistical results in the diagram area of trace no. <Chn>.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Statistical info field on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

*RST; CALC:STAT:STAT?

Query the *RST value of the command. The response is 0; the statistical results are hidden.